package com.ruoyi.system.designpattern.observer;

import java.math.BigDecimal;

/**
 * @author created by Zhou Zongbo on 2025/8/28.
 */public class Product {
     private String name;
     private BigDecimal price;


     public Product(String name, BigDecimal price) {
         this.name = name;
         this.price = price;
     }

     public String getName() {
         return name;
     }

     public BigDecimal getPrice() {
         return price;
     }
}
